﻿using System;
using SharpSqlAnalyzer.nodes;

namespace SharpSqlAnalyzer.stmt.informix
{
	// Token: 0x020001B0 RID: 432
	public class TInformixDropRowTypeStmt : TCustomSqlStatement
	{
		// Token: 0x06000E76 RID: 3702 RVA: 0x0030A1D9 File Offset: 0x003083D9
		public TInformixDropRowTypeStmt(EDbVendor dbvendor) : base(dbvendor)
		{
			this.sqlstatementtype = ESqlStatementType.sstinformixDropRowType;
		}

		// Token: 0x06000E77 RID: 3703 RVA: 0x0030A1ED File Offset: 0x003083ED
		public override int doParseStatement(TCustomSqlStatement psql)
		{
			if (this.rootNode == null)
			{
				return -1;
			}
			base.doParseStatement(psql);
			this.rowTypeName = (TObjectName)((TDummy)this.rootNode).node1;
			return 0;
		}

		// Token: 0x1700029F RID: 671
		// (get) Token: 0x06000E78 RID: 3704 RVA: 0x0030A21D File Offset: 0x0030841D
		// (set) Token: 0x06000E79 RID: 3705 RVA: 0x0030A225 File Offset: 0x00308425
		public virtual TObjectName RowTypeName
		{
			get
			{
				return this.rowTypeName;
			}
			set
			{
				this.rowTypeName = value;
			}
		}

		// Token: 0x06000E7A RID: 3706 RVA: 0x0030A22E File Offset: 0x0030842E
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x06000E7B RID: 3707 RVA: 0x0030A23E File Offset: 0x0030843E
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x04001331 RID: 4913
		private TObjectName rowTypeName;
	}
}
